/**
 * @projectName: petJoyHome
 * @author: 小飞
 * @description: TODO
 * @date: 2024/3/1 17:07
 * @version: 1.0
 */
package com.home.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.home.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    /**
     * 查询角色对应的权限
     * @param id
     * @return
     */
    List<String> selectPermsByUserId(Long id);
}
